@extends('layout.backend_iframe')

@section("main-content")

    <!-- 面包屑组件start  -->
    @component('component/crumb',['icon' => 'fa-dashboard', 'title' => '示例参考/示例列表' ])
    @endcomponent
    <!-- 面包屑组件end  -->

    <div id="main">
        <!--  提示组件 start -->
        @component('component/tips')

        @endcomponent
        <!--  提示组件 end -->
        <div class="tbl-list">
            <!-- 操作按钮 start  -->
            <div id="act-btn" style="padding:20px 0">
                <button class="btn btn-white btn-refresh"><i class="fa fa-refresh"></i> &nbsp;刷新</button>
                <button data-area="['60%', '70%']" data-url="{{URL::asset('/auth/rule/form')}}" data-title = "添加" class="btn-dialog btn btn-primary btn-sm btn-3F51B5 btn-add">
                    <i class="fa fa-plus"></i>
                    &nbsp;添加
                </button>
            </div>
            <!-- 操作按钮 end  -->

            <!-- 列表start  -->
            <div id="table">
                <table class="no-border-table" data-url="/auth/rule/list">
                    <thead>
                    <tr class="table-head">
                        <td width="20%">标题</td>
                        <td>路由规则</td>
                        <td>权重</td>
                        <td>状态</td>
                        <td>操作</td>
                    </tr>
                    </thead>
                    <tbody class="tbl-content">

                    </tbody>
                </table>
               {{-- @component('component/paginate',['limit' => \Config::get('pageLimit')])
                @endcomponent--}}

            </div>
            <!-- 列表end    -->
        </div>
    </div>


@endsection

@section("js-file")
    <script src="{{ URL::asset('js/backend/rule.js')}}"></script>
@endsection
